import request from '@/utils/request'

export function login(loginNo, loginPass) {
  return request({
    url: '/common/login/doLogin',
    method: 'post',
    data: {
      loginNo,
      loginPass
    }
  })
}

export function getInfo() {
  return request({
    url: '/app/user/getCurrentUser',
    method: 'get'
  })
}
